<template>
  <div>
    <h1>首页测试</h1>

    <el-table :data="info" @selection-change="handleSelectionChange" @row-click="rowClick" ref="multipleTable"
              border style="width: 100%;">
      <el-table-column type="selection" header-align="center" align="center" width="50"></el-table-column>
      <el-table-column label="提交人" prop="proposer" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="处理人" prop="handler" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="问题类型" prop="lx" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="是否需要返工" prop="rework" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="是否关闭问题" prop="Isfinish" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="销售订单号" prop="xsddh" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="成品料号" prop="cplh" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="批量" prop="pl" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="产品规格" prop="cpgg" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="选择记录" prop="xzj" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="单据编号" prop="Fbillno" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="工单编号" prop="gdbh" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="原因" prop="reson" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="问题描述" prop="wtms" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="问题提交时间" prop="beginTime" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="问题处理时间" prop="handelTime" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="问题结案时间" prop="endTime" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="品质审核人" prop="pzshr" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="问题上报" prop="wtsb" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
      <el-table-column label="问题实施人" prop="wtssr" header-align="center" align="center"
                       show-overflow-tooltip></el-table-column>
    </el-table>
  </div>
</template>

<script>
import axios from "axios";

export default {
  data() {
    return {
      info: {
        id: '',
        requestid: '',
        proposer: '',
        handler: '',
        lx: '',
        rework: '',
        isfinish: '',
        xsddh: '',
        cplh: '',
        pl: '',
        cpgg: '',
        xzj: '',
        fbillno: '',
        gdbh: '',
        reson: '',
        wtms: '',
        begintime: '',
        handeltime: '',
        endtime: '',
        pzshr: '',
        wtsb: '',
        wtssr: '',
        formmodeid: '',
        modedatacreater: '',
        modedatacreatertype: '',
        modedatacreatedate: '',
        modedatacreatetime: '',
        modedatamodifier: '',
        modedatamodifydatetime: '',
        modeuuid: ''
      }
    }
  },
  mounted() {
    axios.get('http://localhost:8081/test/1')
      .then(response => (this.info=response.data.data))
  }
}
</script>

<style scoped>

</style>
